import _ from 'lodash'
import "../node_modules/nes.css/css/nes.min.css"
import "./style.css"
import Icon from './icon.png'
import Data from './data.xml'
import Notes from './data.csv'

function component() {
    const element = document.createElement('div')
    element.innerHTML = _.join(['Hello', 'webpack'], ' ')
    element.classList.add('nes-text')
    element.classList.add('is-error')
    element.classList.add('hello')

    const myIcon = new Image()
    myIcon.src = Icon

    element.appendChild(myIcon)

    console.log(Data)
    console.log(Notes)

    return element
}

document.body.appendChild(component())